package com.dianqu.weather.core.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class TUser {

	@Id
	String username;
	String password;
	boolean gender;

	public String getPassword() {
		return password;
	}

	public String getUsername() {
		return username;
	}

	public boolean isGender() {
		return gender;
	}

	public void setGender(boolean gender) {
		this.gender = gender;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password
				+ ", gender=" + gender + "]";
	}

}
